/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.grnt.common;

/**
 *
 * It describes a two fields type.
 * @param <T1>  The first field type.
 * @param <T2> The second field type.
 * @author sayid The third field type.
 */
public class TwoTuple<T1,T2>{
	/**
	 *
	 * The first field.
	 */
	public final T1 value1;
	/**
	 *
	 * The second field.
	 */
	public final T2 value2;

	/**
	 *
	 * To set object's value.
	 * @param value1 The value will be set to first field.
	 * @param value2 The value will be set to second field.
	 */
	public TwoTuple(T1 value1, T2 value2) {
		this.value1 = value1;
		this.value2 = value2;
	}
}
